<?php
class mod_index extends xmldb{
	
	public function getblogs(){
		$blogs = array();
		foreach($this->xml->children() as $blog){
			$blogs[] = (array)$blog;
		}
		return $blogs;
	}
}
?>
